package com.androidmvc.base.constant;

import android.Manifest;

/**
 * @author: vision
 * @function:
 * @date: 16/6/16
 */
public class Constant {

    public static boolean LOG_ENABLE = true;

    public static final byte SD_CARD_NOT_AVAILABLE = 0;// 存储卡拔出
    public static final byte SD_CARD_AVAILABLE = 1;// 存储卡可用
    public static final byte SD_CARD_SPACE_NOT_ENOUGH = 2;// 存储卡空间不足
    public static final String ROOT_PATH = "DaShang/"; //整个应用文件夹名称
    public static final String ROOT_CACHE_PATH = "cache/"; //缓存文件夹名称
    public static final String IMG_SUFFIX = ".jpg"; //图片后缀
    public static final String IMG_PATH = "picture/";//
    public static final String ADVERT_IMG = "start.jpg"; //广告页图片名
    public static final String VIDEO_PATH_NAME = "video/";
    public static final String FILE_NAME = "new_package.apk";//更新文件的文件名称

    /**
     * 权限常量相关
     */
    public static final int WRITE_READ_EXTERNAL_CODE = 0x01;
    public static final String[] WRITE_READ_EXTERNAL_PERMISSION = new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE};

    public static final int HARDWEAR_CAMERA_CODE = 0x02;
    public static final String[] HARDWEAR_CAMERA_PERMISSION = new String[]{Manifest.permission.CAMERA};


}
